home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wildcat Files 2
/
The Wildcat Files 2 (Arsenal Computer).ISO
/
qmp-dos
/
msi-echo.scr
< prev
next >
Wrap
Text File
|
1994-04-02
|
2KB
|
77 lines
;
; Script for doing automated QWK mail runs
; Written by MSI, Inc.
;
; NOTES:
; - You MUST name your dialing directory MSI_MAIL_RUN for this script
; to work!
; - You MUST create a attached note to the dialing directory entry with
; your BBS LOGIN name and password in it!
; ie. !WHATEVER BBS PASSWORD
; - Menus MUST be set to either [R]egular or [E]xpert for this script to
; work!
;
TurnON 8_BIT
TurnOFF LINEFEED
TurnOFF XON/XOFF
TurnOFF NOISE
TurnON SCROLL
TurnOFF PRINT
TurnOFF SPLIT
TurnON STATUSLN
TurnOFF DOORWAY
STRING PACKET
TimeOut 45 ; Set Waitfor for 45 seconds
ASSIGN PACKET MUSTANG ; Assign first 8 chars of the QWK packet here.
IF $ONLINE SKIP_DIAL
DIAL "TMSI_MAIL_RUN" ; Dial entry that matches MSI_MAIL_RUN.
SKIP_DIAL:
OPENFILE $NOTEFILE READ
READFILE 1 ; Read login name from notefile.
CLOSEFILE
Waitfor "What is your first name?"
Delay 100
Send "$1^M"
Waitfor "]:" ; Tomcat Main Menu Prompt
Delay 100
When "load!" TEST_FOR_REP
Send "D"
DOWNQWK:
TimeOut 300
Waitfor "done?"
Delay 100
Send "Y"
Waitfor "now"
Download Z $DLPATH
TEST_FOR_REP:
EXIST $ULPATH$PACKET.REP UPLOAD_REP ; Test for existance of reply packet
GOTO END
UPLOAD_REP: ; Subroutine for uploading reply packet
Send "^M"
Waitfor "]:"
Delay 100 ; Once a reply packet is uploaded successfully
Send "U" ; You may hang up. Tomcat will continue to
Waitfor "now" ; insert your messages and the board will
UPLOAD Z $ULPATH$PACKET.REP ; recycle when Tomcat is done. This script hangs
Waitfor "Successful" ; up as soon as the reply packet is uploaded.
GOTO END
END:
HANGUP
SYSTEM Y
Exit